package com.st.listener;

import javax.servlet.ServletRequestEvent;
import javax.servlet.ServletRequestListener;
import javax.servlet.annotation.WebListener;


public class RequestListener implements ServletRequestListener {

    public void requestDestroyed(ServletRequestEvent sre)  { 
    	// request对象销毁完成之后, 执行
    	System.out.println("request对象销毁");
    }

    public void requestInitialized(ServletRequestEvent sre)  { 
    	// request对象初始化完成之后, 执行
    	System.out.println("request对象初始化");
    }
}
